package org.fuys.coder.domain.signup.service.point;

import org.fuys.coder.infrastructure.model.dto.UserDTO;
import org.springframework.stereotype.Component;

/**
 * @projectName: fuys-low-coder
 * @package: org.fuys.coder.domain.common.policy.point
 * @className: AddPointPolicy
 * @author: WangJing
 * @description: 添加积分策略
 * @date: 2024/6/20 16:29
 * @version: 1.0
 */
@Component("addPoint")
public class AddPointPolicy extends AbstractPointPolicy{
    @Override
    protected void addPoint(UserDTO userVo, Integer point) {
        userVo.setPoint(point);
    }
}
